﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.Rendering.ShaderPropertyFlags
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System;

#nullable disable
namespace UnityEngine.Rendering
{
  /// <summary>
  ///   <para>Flags that control how a shader property behaves.</para>
  /// </summary>
  [Flags]
  public enum ShaderPropertyFlags
  {
    /// <summary>
    ///   <para>No flags are set.</para>
    /// </summary>
    None = 0,
    /// <summary>
    ///   <para>Signifies that Unity hides the property in the default Material Inspector.</para>
    /// </summary>
    HideInInspector = 1,
    /// <summary>
    ///   <para>In the Material Inspector, Unity queries the value for this property from the Renderer's MaterialPropertyBlock, instead of from the Material. The value will also appear as read-only.</para>
    /// </summary>
    PerRendererData = 2,
    /// <summary>
    ///   <para>Do not show UV scale/offset fields next to Textures in the default Material Inspector.</para>
    /// </summary>
    NoScaleOffset = 4,
    /// <summary>
    ///   <para>Signifies that values of this property contain Normal (normalized vector) data.</para>
    /// </summary>
    Normal = 8,
    /// <summary>
    ///   <para>Signifies that values of this property contain High Dynamic Range (HDR) data.</para>
    /// </summary>
    HDR = 16, // 0x00000010
    /// <summary>
    ///   <para>Signifies that values of this property are in gamma space. If the active color space is linear, Unity converts the values to linear space values.</para>
    /// </summary>
    Gamma = 32, // 0x00000020
    /// <summary>
    ///   <para>You cannot edit this Texture property in the default Material Inspector.</para>
    /// </summary>
    NonModifiableTextureData = 64, // 0x00000040
    /// <summary>
    ///   <para>Signifies that value of this property contains the main texture of the Material.</para>
    /// </summary>
    MainTexture = 128, // 0x00000080
    /// <summary>
    ///   <para>Signifies that value of this property contains the main color of the Material.</para>
    /// </summary>
    MainColor = 256, // 0x00000100
  }
}
